<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html>
<html lang="zh-cmn-Hans" class="wide wow-animation smoothscroll scrollTo">
  <head>
    <?php include template("layouts","header"); ?>
  </head>
  <body>
    <!-- Page-->
    <div class="page text-center">
      <!-- Page Header-->
      <header class="page-head">
        <?php include template("layouts","navbar"); ?>
      </header>
      <?php include template("layouts","breadcrumb"); ?>

      <!-- Page Content-->
      <main class="page-content">
        <!-- 企业公告 -->
        <section class="section-98 section-sm-110">
          <div class="shell">
            <h3><a href="<?php echo $CATEGORYS['13']['url'];?>" class="text-gray-dark"><?php echo $CATEGORYS['13']['catname'];?></a></h3>
            <hr class="divider divider-lg bg-java">
            <div class="range">
              <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=eb2c442d27db0bf23d11718982ad9f84&action=lists&catid=13&num=6&siteid=%24siteid&order=listorder+DESC&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'13','siteid'=>$siteid,'order'=>'listorder DESC','moreinfo'=>'1','limit'=>'6',));}?>
              <?php $top = reset($data)?>
              <div class="cell-xs-10 cell-md-8 text-left">
                <h4 title="<?php echo $r['title'];?>"><?php echo str_cut($top['title'],90);?></h4>
                <!-- <hr class="divider divider-lg bg-java hr-left-0 hr-sm-left-2"> -->
                <div class="offset-top-41 offset-lg-top-20">
                  <ul class="list-inline list-inline-dashed">
                    <li><?php echo date('Y-m-d H:m:s',$top['inputtime']);?></li>
                    <li class="text-primary"><?php echo $top['username'];?></li>
                  </ul>
                  <div>
		    <?php echo $top['description'];?>
                  </div>
                  <div class="offset-top-30"><a href="<?php echo $top['url'];?>" class="btn btn-ellipse btn-java">了解更多</a></div>
                </div>
              </div>

              <div class="cell-xs-10 cell-md-4 offset-top-41 offset-md-top-0 text-left">
                <h6>公告列表</h6>
                <hr class="text-subline">
                <div class="offset-top-20">
                  <ul class="list list-marked list-marked-icon text-dark inset-left-0 list-marked-gray">
                  <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                    <li>
                      <a href="<?php echo $r['url'];?>" class="text-bold"><?php echo $r['title'];?></a><br>
                      <small><?php echo date('Y-m-d H:m:s',$r[inputtime]);?></small>
                    </li>
                  <?php $n++;}unset($n); ?>
                  </ul>
                </div>
              </div>
              <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            </div>
          </div>
        </section>
        <!-- 公司新闻 -->
        <section class="section-98 bg-white-liac">
          <div class="shell">
            <h3><a href="<?php echo $CATEGORYS['14']['url'];?>" class="text-gray-dark"><?php echo $CATEGORYS['14']['catname'];?></a></h3>
            <hr class="divider divider-lg bg-java">
            <div class="offset-top-66">
              <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=ffff54e2dfbaa9b5f1a24ac695cedc36&action=lists&catid=14&num=6&siteid=%24siteid&order=listorder+DESC&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'14','siteid'=>$siteid,'order'=>'listorder DESC','moreinfo'=>'1','limit'=>'6',));}?>
              <div data-loop="false" data-margin="15" data-items="1" data-dots="true" data-mouse-drag="false" data-md-items="3" data-nav="false" class="owl-carousel owl-carousel-default owl-carousel-class-light">
                <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                <div class="owl-item">
                  <article class="post post-modern post-modern-classic post-modern-classic-full">
                    <header class="post-media">
                      <a href="<?php echo $r['url'];?>"><img width="770" height="480" src="<?php echo $r['thumb'];?>" alt="" class="img-responsive img-cover" title="<?php echo $r['title'];?>"></a>
                    </header>
                    <section class="post-content text-left">
                      <div class="post-title offset-top-8">
                        <h4 class="text-bold"><a href="<?php echo $r['url'];?>" title="<?php echo $r['title'];?>"><?php echo str_cut($r['title'],44);?></a></h4>
                      </div>
                      <ul class="list-inline list-inline-dashed">
                        <li><?php echo date('Y-m-d H:m:s',$r['inputtime']);?></li>
                        <li class="text-primary"><?php echo $r['username'];?></li>
                      </ul>
                      <div class="post-body"><?php echo str_cut($r['description'],280);?></div>
                      <div class="tags group group-sm"><?php echo keyword_format($r['keywords']);?></div>
                    </section>
                  </article>
                </div>
                <?php $n++;}unset($n); ?>
              </div>
              <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            </div>
          </div>
        </section>

        <section class="section-98">
          <div class="shell-fluid inset-left-0 inset-right-0">
            <h3><a href="<?php echo $CATEGORYS['29']['url'];?>" class="text-gray-dark"><?php echo $CATEGORYS['29']['catname'];?></a></h3>
            <hr class="divider divider-lg bg-java">
            <div class="offset-top-41 offset-lg-top-60">
              <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=fd0544c28c76f8d522672b9eb6d760d6&action=lists&catid=29&num=5&siteid=%24siteid&order=listorder+DESC&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'29','siteid'=>$siteid,'order'=>'listorder DESC','moreinfo'=>'1','limit'=>'5',));}?>
              <div class="reveal-md-flex range-xs-center">
                <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
                <figure class="thumbnail-josip thumbnail-big odd">
                  <a href="<?php echo $r['url'];?>"><img width="384" height="410" src="<?php echo $r['thumb'];?>" alt=""></a>
                  <div class="thumbnail-desc">
                    <h5 class="thumbnail-josip-title text-bold text-white"><?php echo $r['title'];?></h5>
                    <p class="veil reveal-md-block text-italic text-white offset-top-0"><?php echo $r['description'];?></p>
                  </div>
                  <figcaption><a href="<?php echo $r['url'];?>" class="btn btn-block btn-rect text-md-left btn-java">查看详细</a></figcaption>
                </figure>
                <?php $n++;}unset($n); ?>
              </div>
              <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            </div>
          </div>
        </section>
      </main>

      <?php include template("layouts","footer"); ?>
    </div>
    <?php include template("layouts","global"); ?>
    <?php include template("layouts","javascript"); ?>
  </body>
</html>
